package com.demo.List;

/**
 * @Author :蕉绿
 * @Date : 2023/2/6 10:44
 * @Version : V1.0
 * @Description :
 */
public class Test {
    public static void main(String[] args) {
        TestSingleList singleList = new TestSingleList();
        singleList.generateList();
        singleList.display();
        System.out.println();
//        System.out.println();
//        System.out.println(singleList.size());
//        singleList.addFirst(55);
//        singleList.display();
//        singleList.addLast(66);
//        singleList.display();
       // singleList.addLast(66);
        singleList.addIndex(2,99);
        //singleList.addIndex(9,55);
        singleList.display();
    }
}
